package com.example.lol;

import android.content.Intent;
import android.os.Bundle;
import android.view.View;
import android.widget.Button;
import android.widget.ImageView;
import android.widget.Toast;

import androidx.annotation.Nullable;
import androidx.appcompat.app.AppCompatActivity;

public class SettingActivity extends AppCompatActivity {
    private ImageView backBtn;
    @Override
    protected void onCreate(@Nullable Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.set);

        backBtn=findViewById(R.id.set_back);
        backBtn.setOnClickListener(new View.OnClickListener(){
            public void onClick(View v){
                Toast.makeText(SettingActivity.this, "返回", Toast.LENGTH_SHORT).show();
                Intent intent=new Intent();
                intent.setClass(SettingActivity.this,lolActivity.class);
                startActivity(intent);
            }
        });
    }
}

